﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020005CB RID: 1483
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class FLKLLJOCMML : IMessage<FLKLLJOCMML>, IMessage, IEquatable<FLKLLJOCMML>, IDeepCloneable<FLKLLJOCMML>, IBufferMessage
	{
		// Token: 0x170012FA RID: 4858
		// (get) Token: 0x060042AB RID: 17067 RVA: 0x000B5C9C File Offset: 0x000B3E9C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<FLKLLJOCMML> Parser
		{
			get
			{
				return FLKLLJOCMML._parser;
			}
		}

		// Token: 0x170012FB RID: 4859
		// (get) Token: 0x060042AC RID: 17068 RVA: 0x000B5CA3 File Offset: 0x000B3EA3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return FLKLLJOCMMLReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170012FC RID: 4860
		// (get) Token: 0x060042AD RID: 17069 RVA: 0x000B5CB5 File Offset: 0x000B3EB5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return FLKLLJOCMML.Descriptor;
			}
		}

		// Token: 0x060042AE RID: 17070 RVA: 0x000B5CBC File Offset: 0x000B3EBC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public FLKLLJOCMML()
		{
		}

		// Token: 0x060042AF RID: 17071 RVA: 0x000B5CC4 File Offset: 0x000B3EC4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public FLKLLJOCMML(FLKLLJOCMML other) : this()
		{
			this.itemList_ = ((other.itemList_ != null) ? other.itemList_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x060042B0 RID: 17072 RVA: 0x000B5CF9 File Offset: 0x000B3EF9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public FLKLLJOCMML Clone()
		{
			return new FLKLLJOCMML(this);
		}

		// Token: 0x170012FD RID: 4861
		// (get) Token: 0x060042B1 RID: 17073 RVA: 0x000B5D01 File Offset: 0x000B3F01
		// (set) Token: 0x060042B2 RID: 17074 RVA: 0x000B5D09 File Offset: 0x000B3F09
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ItemList ItemList
		{
			get
			{
				return this.itemList_;
			}
			set
			{
				this.itemList_ = value;
			}
		}

		// Token: 0x060042B3 RID: 17075 RVA: 0x000B5D12 File Offset: 0x000B3F12
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as FLKLLJOCMML);
		}

		// Token: 0x060042B4 RID: 17076 RVA: 0x000B5D20 File Offset: 0x000B3F20
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(FLKLLJOCMML other)
		{
			return other != null && (other == this || (object.Equals(this.ItemList, other.ItemList) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x060042B5 RID: 17077 RVA: 0x000B5D54 File Offset: 0x000B3F54
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.itemList_ != null)
			{
				num ^= this.ItemList.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x060042B6 RID: 17078 RVA: 0x000B5D90 File Offset: 0x000B3F90
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x060042B7 RID: 17079 RVA: 0x000B5D98 File Offset: 0x000B3F98
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x060042B8 RID: 17080 RVA: 0x000B5DA1 File Offset: 0x000B3FA1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.itemList_ != null)
			{
				output.WriteRawTag(34);
				output.WriteMessage(this.ItemList);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x060042B9 RID: 17081 RVA: 0x000B5DD4 File Offset: 0x000B3FD4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.itemList_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.ItemList);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x060042BA RID: 17082 RVA: 0x000B5E14 File Offset: 0x000B4014
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(FLKLLJOCMML other)
		{
			if (other == null)
			{
				return;
			}
			if (other.itemList_ != null)
			{
				if (this.itemList_ == null)
				{
					this.ItemList = new ItemList();
				}
				this.ItemList.MergeFrom(other.ItemList);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x060042BB RID: 17083 RVA: 0x000B5E68 File Offset: 0x000B4068
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060042BC RID: 17084 RVA: 0x000B5E74 File Offset: 0x000B4074
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 34U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					if (this.itemList_ == null)
					{
						this.ItemList = new ItemList();
					}
					input.ReadMessage(this.ItemList);
				}
			}
		}

		// Token: 0x04001A20 RID: 6688
		private static readonly MessageParser<FLKLLJOCMML> _parser = new MessageParser<FLKLLJOCMML>(() => new FLKLLJOCMML());

		// Token: 0x04001A21 RID: 6689
		private UnknownFieldSet _unknownFields;

		// Token: 0x04001A22 RID: 6690
		public const int ItemListFieldNumber = 4;

		// Token: 0x04001A23 RID: 6691
		private ItemList itemList_;
	}
}
